#compdef yambar

_arguments \
    -s \
    '(-v --version)'{-v,--version}'[show the version number and quit]' \
    '(-h --help)'{-h,--help}'[show help message and quit]' \
    '(-b --backend)'{-b,--backend}'[backend to use (default: auto)]:backend:(xcb wayland auto)' \
    '(-c --config)'{-c,--config}'[alternative configuration file]:filename:_files' \
    '(-C --validate)'{-C,--validate}'[verify configuration then quit]'
